-- GENERATED SPELL FOR [Void Hound] --


function spell0_22500(pUnit, Event) --@Double Breath,n/a--
pUnit:FullCastSpellOnTarget(36406,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22500', 4500, 1)
end

function Sorts_22500(pUnit, Event)
local choix_sorts_22500 = math.random(0, 0)
if choix_sorts_22500 == 0 then
pUnit:RegisterEvent('spell0_22500', 1, 1)
end
end

function mob22500_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22500', math.random(1500, 3000), 1)
end

function mob22500_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22500_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22500_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22500, 1, 'mob22500_Action')
RegisterUnitEvent(22500, 2, 'mob22500_Leave')
RegisterUnitEvent(22500, 3, 'mob22500_Kill')
RegisterUnitEvent(22500, 4, 'mob22500_Die')
